package com.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * version 1.0.0
 * 基础service类，所有service继承自这个获得默认事务属性
 * @author III
 * @date 2016/10/10.
 */
@Service("baseService")
@Transactional(propagation = Propagation.REQUIRED,rollbackFor = Exception.class)
public class BaseService {
}
